package com.imooc.pojo.BO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author lihongyu
 * @CreateTime 2021-10-18 15:38
 * @Description 收货地址封装实体
 */
@ApiModel("收货地址封装实体")
public class AddressBO implements Serializable {

    /**
     * 地址ID
     */
    @ApiModelProperty(name = "addressId",value = "地址ID",dataType = "String")
    private String addressId;

    /**
     * 用户ID
     */
    @ApiModelProperty(name = "userId",value = "用户ID",dataType = "String")
    private String userId;

    /**
     * 收货人
     */
    @ApiModelProperty(name = "receiver",value = "收货人",dataType = "String")
    private String receiver;

    /**
     * 联系电话
     */
    @ApiModelProperty(name = "mobile",value = "联系电话",dataType = "String")
    private String mobile;

    /**
     * 省
     */
    @ApiModelProperty(name = "province",value = "省",dataType = "String")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty(name = "city",value = "市",dataType = "String")
    private String city;

    /**
     *  区
     */
    @ApiModelProperty(name = "district",value = "区",dataType = "String")
    private String district;

    /**
     * 详情地址
     */
    @ApiModelProperty(name = "detail",value = "详情地址",dataType = "String")
    private String detail;

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }


    @Override
    public String toString() {
        return "AddressBO{" +
                "addressId='" + addressId + '\'' +
                "userId='" + userId + '\'' +
                ", receiver='" + receiver + '\'' +
                ", mobile='" + mobile + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}
